package com.transaction.stockseata.mapper;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.transaction.stockseata.pojo.Stock;
import org.springframework.stereotype.Repository;

/**
 * @Entity com.transaction.stockseata.pojo.Stock
 */
@Repository
public interface StockMapper extends BaseMapper<Stock> {

    int updateCountByProductId(@Param("count") Integer count, @Param("productId") Integer productId);
}




